package cn.eclass.bean.api;

import cn.eclass.entity.UserEntity;

public interface IUserBean extends ICommonBean<UserEntity> {
    //return user id.	

    boolean checkLoggedin();

    UserEntity getByName(String name);
    
    UserEntity login(String userName, String psw);

    boolean logout();
}
